﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace Sources
{
    /// <summary>
    /// Класс пикет
    /// </summary>
    [DataContract]
    public class PiketString
    {
        /// <summary>
        /// Флаг является ли запись пикетом
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Пикет")]
        public bool IsPiket
        {
            get;
            set;
        }

        /// <summary>
        /// Номер записи
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "№")]
        public int No
        {
            get;
            set;
        }

        #region Основные параметры

        /// <summary>
        /// От
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "От")]
        public string From
        {
            get;
            set;
        }

        /// <summary>
        /// До
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "До")]
        public string To
        {
            get;
            set;
        }

        /// <summary>
        /// Длина
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Длина")]
        public string Length
        {
            get;
            set;
        }

        /// <summary>
        /// Азимут
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Азимут")]
        public string Bearing
        {
            get;
            set;
        }

        /// <summary>
        /// Угол
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Угол")]
        public string Inc
        {
            get;
            set;
        }
        
        #endregion

        #region Стены
        /// <summary>
        /// Левая стена
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Лево")]
        public string Left
        {
            get;
            set;
        }

        /// <summary>
        /// Правая стена
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Право")]
        public string Right
        {
            get;
            set;
        }

        /// <summary>
        /// Потолок
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Верх")]
        public string Up
        {
            get;
            set;
        }

        /// <summary>
        /// Пол
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Низ")]
        public string Down
        {
            get;
            set;
        }
        
        #endregion

        /// <summary>
        /// Комментарий
        /// </summary>
        [DataMember]
        [DisplayAttribute(Name = "Комментарий")]
        public string Desc
        {
            get;
            set;
        }
    
    }
}
